projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e1602
)
(python-maybe-jython): Don't assume point-min==1.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 21 Apr 2004 20:48:47 +0000
(20:48 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 21 Apr 2004 20:48:47 +0000
(20:48 +0000)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 7a7e62d06eec0252d94f06e7965d6989b5ad0c21..a85cd2296ae5733fe76e2cc3c8ce7a8a6d780a34 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-1415,7
+1415,7
@@
The criterion is either a match for `jython-mode' via
(while (re-search-forward
(rx (and line-start (or "import" "from") (1+ space)
(group (1+ (not (any " \t\n."))))))
-
10000
; Probably not worth customizing.
+
(+ (point-min) 10000)
; Probably not worth customizing.
t)
(if (member (match-string 1) python-jython-packages)
(throw 'done t))))